﻿@namespace Bootstrap5
@inherits BootstrapComponentBase

<div class="@(GetCssClassString())" role="alert" @attributes="AdditionalAttributes">
	@if (HeadContent is not null)
	{
		<h4 class="alert-heading">@HeadContent</h4>
	}
	@ChildContent
	@if (Dismissible)
	{
		<CloseButton Trigger="Bootstrap5.Trigger.Dismiss(DismissName.Alert)"/>
	}
</div>